package com.youdianda.controller;

import com.youdianda.common.R;
import com.youdianda.entity.SysUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sysUser")
@Slf4j
public class SysUserController {

    @GetMapping("/test")
    public R<String> test(SysUser sysUser){
        log.info("sysUser; {}",sysUser);
        return R.success("测试成功");
    }


}
